package com.yf.ability.login.dingtalk.dto.response;


import com.yf.base.api.api.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 钉钉用户信息响应类
 * @author
 * @date 2019-12-26 17:54
 */
@Data
@ApiModel(value="钉钉用户信息响应类", description="钉钉用户信息响应类")
public class DingUserRespDTO extends BaseDTO {


    @ApiModelProperty(value = "用户昵称", required=true)
    private String nick;

    @ApiModelProperty(value = "头像地址", required=true)
    private String avatarUrl;

    @ApiModelProperty(value = "手机号码", required=true)
    private String mobile;

    @ApiModelProperty(value = "唯一编号", required=true)
    private String openId;

    @ApiModelProperty(value = "unionId", required=true)
    private String unionId;

    @ApiModelProperty(value = "email", required=true)
    private String email;

    // 更多信息见：https://open.dingtalk.com/document/orgapp-server/dingtalk-retrieve-user-information
}
